package com.yunyao.dao.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 机构表
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
@Getter
@Setter
@TableName("bamu_sys_dept3")
public class BamuSysDept3 {

    /**
     * 主键
     */
    private String id;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    private String tenantId;

    /**
     * 组织ID
     */
    private String orgId;

    /**
     * 父主键
     */
    private String parentId;

    /**
     * 父编码
     */
    private String parentCode;

    /**
     * 祖级列表
     */
    private String ancestors;

    /**
     * 用户编号
     */
    private String regCapital;

    /**
     * 部门类型
     */
    private Integer deptCategory;

    /**
     * 部门名
     */
    private String deptName;

    /**
     * 部门编码
     */
    private String deptCode;

    /**
     * 部门全称
     */
    private String fullName;

    private String orgName;

    private String orgCode;

    /**
     * 组织部门类型
     */
    private String orgType;

    private String orgCategory;

    private String orgClass;

    private String orgCredit;

    /**
     * 简称
     */
    private String shortName;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否已删除
     */
    private Integer isDeleted;

    /**
     * 负责人
     */
    @TableField("`master`")
    private String master;

    /**
     * 电话
     */
    private String phone;

    /**
     * 部门层级
     */
    private Integer deptLevel;

    /**
     * 机构图是否显示
     */
    private Boolean showed;

    /**
     * 是否是法人单位
     */
    private Boolean legalUnit;

    /**
     * 同步表结构ID
     */
    private String syncDeptId;

    @TableField("`owner`")
    private String owner;

    private String ownerIdcard;

    private String companyType;

    private String companyNature;

    private String contactName;

    private String contactIdcard;

    private String contactMobile;

    private String contactEmail;

    private String companyAddress;

    private String provinceId;

    private String provinceName;

    private String cityId;

    private String cityName;

    private String districtId;

    private String districtName;

    private String companyBusiness;

    private String depositBank;

    private String bankAccount;

    private String bankAccountName;

    private String bankLinkName;

    private String taxpayerCategory;

    private String businessLicense;

    private String ownerIdcardFront;

    private String ownerIdcardBack;

    private String bankLicense;

    private String otherFile;

    private String taxType;

    /**
     * 过期时间
     */
    private Date expireTime;

    @TableField("`status`")
    private Integer status;

    private String createDept;

    private Date createdAt;

    private String createdBy;

    private Date updatedAt;

    private String updatedBy;

    /**
     * 项目简称
     */
    private String supplierCredit;
}
